.class Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;
.super Lcom/glympse/android/glympse/DlgPrompt;
.source "Glympse.java"

# interfaces
.implements Lcom/glympse/android/glympse/DlgShell$DlgShellListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/Glympse;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "DlgEnableLocation"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/Glympse;


# direct methods
.method public constructor <init>(Lcom/glympse/android/glympse/Glympse;Landroid/content/Context;)V
    .locals 1
    .parameter
    .parameter "oContext"

    .prologue
    .line 1904
    iput-object p1, p0, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->this$0:Lcom/glympse/android/glympse/Glympse;

    .line 1895
    const/4 v0, 0x0

    invoke-direct {p0, p2, v0}, Lcom/glympse/android/glympse/DlgPrompt;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 1896
    const v0, 0x7f020046

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetTitleIcon(I)V

    .line 1897
    const v0, 0x7f0a006c

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetTitleText(I)V

    .line 1898
    const v0, 0x7f0a008a

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetPrompt(I)V

    .line 1901
    const v0, 0x7f0a005e

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetOkText(I)V

    .line 1902
    const v0, 0x7f0a005f

    invoke-virtual {p0, v0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetCancelText(I)V

    .line 1903
    invoke-virtual {p0, p0}, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->SetDlgShellListener(Lcom/glympse/android/glympse/DlgShell$DlgShellListener;)V

    return-void
.end method


# virtual methods
.method public OnCancel(Lcom/glympse/android/glympse/DlgShell;)V
    .locals 0
    .parameter "oDlgShell"

    .prologue
    .line 1922
    return-void
.end method

.method public OnDismissed(Lcom/glympse/android/glympse/DlgShell;Z)V
    .locals 0
    .parameter "oDlgShell"
    .parameter "fOk"

    .prologue
    .line 1927
    return-void
.end method

.method public OnOk(Lcom/glympse/android/glympse/DlgShell;)V
    .locals 4
    .parameter "oDlgShell"

    .prologue
    .line 1911
    :try_start_0
    iget-object v1, p0, Lcom/glympse/android/glympse/Glympse$DlgEnableLocation;->this$0:Lcom/glympse/android/glympse/Glympse;

    new-instance v2, Landroid/content/Intent;

    const-string v3, "android.settings.LOCATION_SOURCE_SETTINGS"

    invoke-direct {v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Lcom/glympse/android/glympse/Glympse;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 1917
    :goto_0
    return-void

    .line 1913
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 1915
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method
